package com.weixing.mall.provider.model.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.weixing.mall.core.support.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 仓库模块-封单匹配规则
 * </p>
 *
 * @author Small
 * @since 2019-11-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wms_seal_match_rule")
public class SealMatchRule extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 规则名称
     */
    private String ruleName;

    /**
     * 优先匹配 仓库id
     */
    private Long firstMatch;

    /**
     * 其次匹配
     */
    private Long secondMatch;

    /**
     * 再次匹配
     */
    private Long thirdMatch;

    /**
     * 规则描述
     */
    private String ruleDesp;

    /**
     * 是否默认 0否；1是
     */
    private Integer isDefault;

    /**
     * 乐观锁
     */
    private Integer revision;

    /**
     * 创建人
     */
    private Long createdBy;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 更新人
     */
    private Long updatedBy;

    /**
     * 更新时间
     */
    private Date updatedTime;


}
